[INFO] cloning repository https://github.com/Resilient08/api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Resilient08/api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResilient08%2Fapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResilient08%2Fapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7338aa7fe5fef14577070ed64c07ffad6befdca0
[INFO] testing Resilient08/api against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResilient08%2Fapi" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Resilient08/api on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Resilient08/api
[INFO] finished tweaking git repo https://github.com/Resilient08/api
[INFO] tweaked toml for git repo https://github.com/Resilient08/api written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Resilient08/api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2e3e638aded3ab66c96f725c0064410288f1af323670014707c3dcb1b6c7a7b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e2e3e638aded3ab66c96f725c0064410288f1af323670014707c3dcb1b6c7a7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2e3e638aded3ab66c96f725c0064410288f1af323670014707c3dcb1b6c7a7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e3e638aded3ab66c96f725c0064410288f1af323670014707c3dcb1b6c7a7b", kill_on_drop: false }`
[INFO] [stdout] e2e3e638aded3ab66c96f725c0064410288f1af323670014707c3dcb1b6c7a7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0f4a030f8638b6c3f2d3e027b5b78104ab557556f399cb8566d1d244c5866945
[INFO] running `Command { std: "docker" "start" "-a" "0f4a030f8638b6c3f2d3e027b5b78104ab557556f399cb8566d1d244c5866945", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling diesel v1.4.6
[INFO] [stderr]    Compiling api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `models`
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `models`, create file "src/models.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Book` in `models`
[INFO] [stdout]   --> src/main.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     if models::Book::insert(book, &conn) {
[INFO] [stdout]    |                ^^^^ could not find `Book` in `models`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewBook` in module `models`
[INFO] [stdout]   --> src/main.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let book = models::NewBook {
[INFO] [stdout]    |                        ^^^^^^^ not found in `models`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "0f4a030f8638b6c3f2d3e027b5b78104ab557556f399cb8566d1d244c5866945", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4a030f8638b6c3f2d3e027b5b78104ab557556f399cb8566d1d244c5866945", kill_on_drop: false }`
[INFO] [stdout] 0f4a030f8638b6c3f2d3e027b5b78104ab557556f399cb8566d1d244c5866945
